package com.woniuxy.oldmanapi.mapper;

import com.woniuxy.oldmanapi.entity.Recipe;
import com.woniuxy.oldmanapi.yvo.RecipeVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface RecipeMapper extends Mapper<Recipe> {
    List<RecipeVo> initSelectByCons(@Param("goryId") Integer goryId, @Param("name")String name);

    RecipeVo SelectRecipeVoByRecipeId(Integer recipeId);
}